package ar.com.agea.processor.alert.service

import ar.com.agea.domain.alerts.PubAlertAssociation


class PubAlertAssociationService {
	
	def findByAlertIdAndPublishableId(alertId, pubId) {
		PubAlertAssociation.findByAlertIdAndPublishableId(alertId, pubId)
	}
	
	def save(PubAlertAssociation pubalertAssociation) {
		pubalertAssociation.save(flush:true)
	}

}
